
package com.dps.omc.service.impl;
import com.dps.omc.model.Agent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dps.common.service.impl.AbstractPageService;
import com.dps.omc.dao.IAgentDAO;
import com.dps.omc.service.IAgentService;

import java.util.List;

@SuppressWarnings("unchecked")
@Service("AgentServiceImpl")

public class AgentServiceImpl extends AbstractPageService<IAgentDAO,Agent> implements IAgentService {

	@Autowired
	private IAgentDAO agentDAO;
	@Override
	public boolean getEnableDataPerm() {
		// TODO Auto-generated method stub
		return false;
	}
	@Override
	public IAgentDAO getDao() {
		return agentDAO;
	}

	@Override
	public List<Agent> findListByBizUnits(List<String> bizUnits) {
		return getDao().findListByBizUnits(bizUnits);
	}
}
